home *** CD-ROM | disk | FTP | other *** search
- global language, cdnum
-
- on mouseUp
- puppetSound("pagesend")
- if cdnum = 1 then
- identifier = string(20 + language)
- contents = 0
- transfer = 1
- myFile = new(xtra("fileio"))
- fileName = "c:\CDnum.dat"
- createFile(myFile, fileName)
- openFile(myFile, fileName, 2)
- writeString(myFile, identifier)
- closeFile(myFile)
- myFile = 0
- Mui = new(xtra("mui"))
- response = alert(Mui, [#buttons: #YesNo, #default: 1, #title: "THIS GAME IS ON CD 2...", #message: "Do you wish to quit CD 1?", #icon: #question])
- if response = 1 then
- go("next CD")
- else
- myFile = new(xtra("fileio"))
- openFile(myFile, fileName, 2)
- delete(myFile)
- end if
- else
- myFile = new(xtra("fileio"))
- fileName = "c:\CDnum.dat"
- openFile(myFile, fileName, 2)
- delete(myFile)
- play movie "Machine"
- end if
- end
-